conversion of RGB to Grayscale Image